﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DBForm.aspx.cs" Inherits="WXYW.DBForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Style/Main.css" rel="stylesheet" type="text/css" />
    <script src="Script/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
     function preview() {
         bdhtml = window.document.body.innerHTML;
         sprnstr = "<!--startprint-->";
         eprnstr = "<!--endprint-->";
         prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
         prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
         window.document.body.innerHTML = prnhtml;
         window.print();
         window.history.go(0);
     }
    </script>
</head>
<body style="padding: 0px; margin: 0px; background-image: url('image/mainSkinBG.gif')">
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tr style="height:25px; text-align:right">
                <td colspan="4">
                    <img src="image/operateicon/print.gif" alt="" />
                    <asp:HyperLink ID="PrintLnk" runat="server" onclick="preview()">打印</asp:HyperLink>
                    <img src="image/operateicon/check.gif" alt="" />
                    <asp:LinkButton ID="sendLinkButton" runat="server"
                        onclick="sendLinkButton_Click">保存发货记录</asp:LinkButton>
<%--                    <img src="image/cancel.gif" alt="" />
                    <a onclick="window.close();return false;">关闭</a>--%>
                </td>
            </tr>
        </table>
        <!--startprint-->
        <table width="100%">       
            <tr style="height:25px; text-align:center">
                <td colspan="4"><b>神州数码客服中心发货调拨单</b></td>
            </tr>
            <tr style="height: 25px">
                <td style="width: 10%">
                    调拨单号
                </td>
                <td style="width: 40%">
                    <asp:TextBox ID="numberLabel" runat="server" Text="" Width="90%" Enabled="false"></asp:TextBox>
                </td>
                <td style="width: 10%">
                    调拨日期
                </td>
                <td style="width: 40%">
                    <asp:TextBox ID="dateLabel" runat="server" Text="" Enabled="false" Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr style="height: 25px">
                <td>
                    RMA单号
                </td>
                <td>
                    <asp:TextBox ID="Label2" runat="server" Text="" Enabled="false" Width="90%"></asp:TextBox>
                </td>
                <td>
                    联系人
                </td>
                <td>
                    <asp:TextBox ID="connectPersonLabel" runat="server" Text="" Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr style="height: 25px">
                <td>
                    收货单位
                </td>
                <td>
                    <asp:TextBox ID="clientComanyTextBox" runat="server" Width="90%"></asp:TextBox>
                </td>
                <td>
                    联系电话
                </td>
                <td>
                    <asp:TextBox ID="phoneLabel" runat="server" Text="" Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr style="height: 25px">
                <td>
                    收货地址
                </td>
                <td>
                    <asp:TextBox ID="Label3" runat="server" Text="" Width="90%"></asp:TextBox>
                </td>
                <td>
                    目的地
                </td>
                <td>
                    <asp:TextBox ID="destinationTextBox" runat="server" Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr style="height: 25px">
                <td>
                    货运方式
                </td>
                <td>
                    <asp:DropDownList ID="wayDropDownList" runat="server" Width="90%">
                        <asp:ListItem Text="公路"></asp:ListItem>
                        <asp:ListItem Text="火车"></asp:ListItem>
                        <asp:ListItem Text="飞机"></asp:ListItem>
                        <asp:ListItem Text="轮船"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    物流公司
                </td>
                <td>
                    <%--<asp:TextBox ID="wlgsTextBox" runat="server"></asp:TextBox>--%>
                    <asp:DropDownList ID="WLDDL" runat="server" Width="90%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr style="height: 25px">
                <td>
                    出货人员
                </td>
                <td>
                    <asp:TextBox ID="personTextBox" runat="server" Width="90%"></asp:TextBox>
                </td>
                <td>
                    物流单号
                </td>
                <td>
                    <asp:TextBox ID="distributeIDTextBox" runat="server" Width="90%"></asp:TextBox><b style="color:Red">*</b>
                </td>
            </tr>
            <tr style="height: 25px">
                <td>
                    签收人
                </td>
                <td>
                    <asp:TextBox ID="signNameTxtBox" runat="server" Width="90%"></asp:TextBox>
                </td>
                <td>
                    备注
                </td>
                <td>
                     <asp:TextBox ID="TextBox1" runat="server" Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr style="height: 25px; text-align:center">
                <td colspan="4">
                    <b>物流周期客户评价</b>
                </td>
            </tr>
            <tr style="height: 25px">
                <td colspan="4">
                    <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal" Width="100%">
                        <asp:ListItem Text="非常满意"></asp:ListItem>
                        <asp:ListItem Text="满意"></asp:ListItem>
                        <asp:ListItem Text="不满意"></asp:ListItem>
                        <asp:ListItem Text="非常不满意"></asp:ListItem>
                    </asp:CheckBoxList>
                </td>
            </tr>
            <tr style="height: 25px">
                <td colspan="4" align="center">
                    <b>货物清单</b>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:GridView ID="requisitionGridView" runat="server" AutoGenerateColumns="false"
                        Width="100%" CssClass="tableList">
                        <Columns>
                            <asp:TemplateField HeaderText="产品型号">
                                <ItemTemplate>
                                    <%#Eval("ProductType.ProductTypeName")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="序列号" DataField="ProductSerialNumber" />
                            <asp:BoundField HeaderText="序列号" DataField="ProductVersionNumber" />
                            <asp:BoundField HeaderText="备注" DataField="Remark" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
        <!--endprint-->
    </div>
    </form>
</body>
</html>
